<?php

class Subscription {

	// association with Bill class
	//private $bill=array();

	// association with Pdf class
	//private $pdf;

	private $users=array();
	
	
	/* ERM Data */
	private $begin;
	
	private $end;
	
	private $price;
	
	private $type;
	
	private $subscriptionId;
	


	public function __construct(User $_user,Pdf $_pdf,Bill $_bill) {

		return;
	}

	
	public function getBegin() {
		return $this->begin;
	}
	
	public function getEnd() {
		return $this->end;
	}
	
	public function getPrice() {
		return $this->price;
	}
	
	public function getType() {
		return $this->type;
	}
	
	public function getSubscriptionId() {
		return $this->subscriptionId;
	}
	
	public function getUsers() {
		return $this->users;
	}

	
	public function setBegin($_begin) {
		$this->begin = $_begin;
	}
	
	public function setEnd($_end) {
		$this->end = $_end;
	}
	
	public function getPrice($_price) {
		$this->price = $_price;
	}
	
	public function getType($_type) {
		$this->type = $_type;
	}
	
	public function getSubscriptionId($_subscriptionId) {
		$this->subscriptionId = $_subscriptionId;
	}
	
	public function getUsers($_users) {
		$this->users = $_users;
	}
}


?>
